cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(TreePoint)
find_package(PCL 1.2 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")
add_definitions(${PCL_DEFINITIONS})
add_executable(main main.cpp ReadPlyFile.h queue.h graph.h)
target_link_libraries(main ${PCL_LIBRARIES})